import React from 'react';
import { HashRouter, Route, Routes } from 'react-router-dom';
import { Home } from './views/Home';
import { Login } from './views/login';
import { Cdp } from './views/cdp';

export const Router = () => {
	return <HashRouter basename="/">
		<Routes>
			<Route path='/login' Component={Login}></Route>
			<Route path='/' Component={Home}>
				<Route path='/cdp' Component={Cdp}>
					
				</Route>
			</Route>
			</Routes>
	</HashRouter>;
};
